#include <stdio.h>
#include <stdlib.h>

#define TABSTP 8

int main(int argc, char *argv[])
{
  int c;

  // accept all the characters util there a EOF
  while ((c = getchar()) != EOF) {
    // transform the tab to corresponding spaces
    if (c == '\t') {
      for (int i = 0; i < TABSTP; i++) {
        putchar(' ');
      }
    }else {
      putchar(c);
    }
  }

  return EXIT_SUCCESS;
}
